import ReactDOM from "react-dom/client";

// 引入 App
import App, { ErrorBoundary } from "./App";

// 创建根节点
const root = ReactDOM.createRoot(document.querySelector("#root")!);

// 渲染根节点
root.render(
  <ErrorBoundary>
    <App />
  </ErrorBoundary>
);
